﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace L2Sharp.LoginServices
{
    /// <summary>
    /// L2 Login Services
    /// </summary>
    public class LoginService
    {

        public static int _svrID;

        // Login Server Protocol Revision
        public static int PROTOCOL_REV = 0x0104;

        private static LoginService _instance;

        public LoginService(int ServerID)
        {

            _svrID = ServerID;

            // Load the configuration
            int LoginPort = Server.Config.LOGIN_PORT(_svrID);

            //TODO: Login Services - Setup Logging

            //TODO: Login Services - Setup Database

            //TODO: Login Services - Login Packet Handler

            //TODO: Login Services - Selector Setup

            //TODO: Login Services - Gameserver Listener

            //TODO: Login Services - Start Selector

        }

    }
}
